Skip to content

Fix docs code block line breaks#52

Merged
yawkat merged 1 commit intomainfrom
fix-docs-codeblock-linebreaks
Apr 22, 2026
Merged

Fix docs code block line breaks#52
yawkat merged 1 commit intomainfrom
fix-docs-codeblock-linebreaks

Conversation

@yawkat
Copy link
Copy Markdown
Owner

@yawkat yawkat commented Apr 22, 2026

Summary

  • remove the custom Pygments line separator from the docs generator
  • restore normal newline rendering for highlighted README code blocks
  • stop published documentation from showing literal <br> tags in code snippets

Verification

  • confirmed the published site symptom matches the old HtmlFormatter(lineseparator="<br>") configuration
  • updated docs/justfile to use the default formatter newline handling
  • verified the local diff is limited to the docs generation pipeline

Resolves #51

Remove the custom Pygments line separator so highlighted README code blocks render with normal newlines instead of literal <br> tags on the published documentation site.

Resolves #51

Co-Authored-By: multicode <multicode@yawk.at>
@github-actions
Copy link
Copy Markdown

🚀 Preview deployed to https://d6731ef4.lz4-java-yawk-at.pages.dev

@yawkat yawkat enabled auto-merge (squash) April 22, 2026 07:44
@yawkat yawkat disabled auto-merge April 22, 2026 08:08
@yawkat yawkat merged commit 5a5bd58 into main Apr 22, 2026
7 checks passed
@yawkat yawkat deleted the fix-docs-codeblock-linebreaks branch April 22, 2026 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documentation code snippets have <br> instead of newlines

1 participant